package com.users.rn.kit.bridge.impl.sign

import com.users.rn.kit.bridge.RNBridgeModuleName
import com.users.rn.kit.bridge.SimpleRNBridge
import com.facebook.react.bridge.*

/**

 * 作者：wolf on 1/11/21 11:29

 * 邮箱：bluce

 */

abstract class KitSignModule : SimpleRNBridge() {
    companion object {
        const val RN_MODULE_NAME: String = RNBridgeModuleName.RN_SIGN
    }

    override fun moduleName(): String {
        return RN_MODULE_NAME
    }

    /**
     * 检查是否可以开处方、通过
     */
    abstract fun checkIsHaveDoctorSignAction(
        context: ReactContext,
        params: ReadableMap,
        promise: Promise
    )

    /**
     * 跳转到医网签页面
     */
    abstract fun jumpToBJCASignViewAction(
        context: ReactContext,
        params: ReadableMap,
        promise: Promise
    )

    /**
     * 医网签批量签名
     */
    abstract fun bjcasignedDataClickedSignListAction(
        context: ReactContext,
        params: ReadableMap,
        promise: Promise
    )

}